package com.imooc.repository;

import com.imooc.dataobject.ProductCategory;
import com.imooc.dataobject.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * dao层
 */
public interface ProductInfoRepository extends JpaRepository<ProductInfo, String> {

     List<ProductInfo> findByProductStatus(Integer productStatus);
}
